<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<body>
<div class="widget-wrap" th:fragment="classification">
    <h3 class="follow">文章分类</h3>
    <div class="widget">
        <ul class="category-list">
            <li class="category-list-item" style="cursor: pointer" th:each="category : ${categoryList}">
                <!-- th:onclick="'loadCategory('+${category.id}+')'" -->
                <a class="category-list-link" th:data-id="${category.id}" th:text="${category.name}"></a>
                <span class="category-list-count" th:text="${category.articleCount}"></span>
            </li>
        </ul>
    </div>
</div>
</body>
</html>